
package org.jofc.demo;

import org.jofc.facade.JLineChart;

/*
 * show you a line chart, create with default configeration
 */
public final class HelloChart {

    private HelloChart() {

    }

    public static void main(String[] args) {
        Integer[] values = {
            0,10,88,10000
        };
        JLineChart chart = new JLineChart();
        chart.addLine(values);
        chart.fitYaxis(8);
        System.out.println(chart.getyAxis());
    }
}
